package com.it.model.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 队伍更新请求体
 */
@Data
public class TeamUpdateRequest implements Serializable {

    private static final long serialVersionUID = 3191241716373120793L;

    /**
     * id
     */
    private Long id;

    /**
     * 队伍名称
     */
    @ApiModelProperty(value = "队伍名称", required = true)
    private String teamName;

    /**
     * 队伍详情描述
     */
    @ApiModelProperty(value = "队伍详情描述", required = true)
    private String teamDescription;

    /**
     * 最大人数
     */
    @ApiModelProperty(value = "队伍的最大人数", required = true)
    private Integer maxNum;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "队伍的过期时间", required = true)
    private Date teamExpireTime;


    /**
     * 0 - 公开，1 - 私有，2 - 加密
     */
    @ApiModelProperty(value = "队伍的状态 -- 0: 公开，1: 私有，2: 加密", required = true)
    private Integer teamStatus;

    /**
     * 密码
     */
    @ApiModelProperty(value = "队伍密码", required = true)
    private String teamPassword;
}

